﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WordMenuDetail.aspx.cs" Inherits="ZLCMS.Web.SystemManage.weixin.WordMenuDetail" %>
<%@ Register src="/SystemManage/weixin/Material/SetMaterialControl.ascx" tagname="SetMaterialControl" tagprefix="uc1" %>

<div class="pageContent">
<form id="pageForm" method="post" runat="Server" class="pageForm required-validate"
    onsubmit="return validateCallback(this, navTabAjaxDone);" action="/SystemManage/weixin/WordMenu/WordMenuDetail.aspx">
    
    <input id="uid" type="hidden" value="<%=Request["uid"] %>"/>

    <div class="pageFormContent" layoutH="56">
    
        <dl class="nowrap">
            <dt>菜单编号</dt>
            <dd><asp:textbox id="keywords" runat="server" class="number required">0</asp:textbox>（<span style="color:red">必须输入数字</span>）</dd>
        </dl>
    
        <dl class="nowrap">
            <dt>菜单名称</dt>
            <dd><asp:textbox width="300px" id="title" runat="server" class="required"/></dd>
        </dl>
        
        <dl class="nowrap">
            <dt>选择素材：</dt>
            <dd>
                <uc1:SetMaterialControl ID="SetMaterialControl1" runat="server" />
                </dd>
        </dl>
        <dl class="nowrap">
            <dt>是否启用：</dt>
            <dd>
                <asp:dropdownlist runat="server" id="ddl_isa" width="150px"></asp:dropdownlist>
            </dd>
        </dl>
        <dl class="nowrap">
            <dt>注意：</dt>
            <dd>（请确保菜单编号不要重复。）</dd>
        </dl>
	</div>

<div class="formBar">
    <input id="submit_op" name="submit_op" type="hidden" />
	    <ul>
			<li>
	        <div class="buttonActive"><div class="buttonContent"><button onclick="$('#submit_op', navTab.getCurrentPanel()).val('0');" type="submit">保存</button></div></div>
            </li>
			<li>
		    <div class="button"><div class="buttonContent">
		    <button type="button" onclick="navTab.openTab('KeywrodRuleDetail', '/SystemManage/weixin/Response/KeywrodRuleDetail.aspx',{title:'规则明细',data:{tabid:'KeywrodRuleDetail'}});">取消并新增</button></div></div>
			</li>
            <li>
	        <div class="buttonActive"><div class="buttonContent"><button onclick="$('#material', navTab.getCurrentPanel()).val($('#matfield', navTab.getCurrentPanel()).val());$('#submit_op', navTab.getCurrentPanel()).val('1');" type="submit">保存并新增</button></div></div>
            </li>
			<li>
		    <div class="button"><div class="buttonContent"><button type="button" class="close">关闭</button></div></div>
			</li>
		</ul>
</div>


</form>
</div>
